.PHONY:all
all:exit_pt cancel_pt
exit_pt:exit_pt.cc
	g++ -o $@ $^ -std=c++11 -lpthread
cancel_pt:cancel_pt.cc
	g++ -o $@ $^ -std=c++11 -lpthread
.PHONY:clean
clean:
	rm -f exit_pt cancel_pt